package com.whpost.api.controller.wx;

import cn.dev33.satoken.annotation.SaCheckLogin;
import com.whpost.api.controller.BaseController;
import com.whpost.api.utils.ApiUtils;
import com.whpost.service.entity.tools.ResultInfo;
import com.whpost.service.service.t.TCzyServices;
import com.whpost.service.wx.service.BaomingServices;
import com.whpost.service.wx.service.JczlServices;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/wx/jczl")
public class JczlController {

    @Resource
    private JczlServices jczlServices;

    @RequestMapping(value ="/jgcx")
    public ResultInfo info(@RequestBody Map<String, Object> map){
        String loginId = ApiUtils.getLoginId();
        return jczlServices.xzjgcx(loginId,map);
    }

}
